package com.woniuxy.commentmodel.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("用户分页查看场馆评论参数列表")
public class CommentByUserForm {
    @Min(value = 1,message = "每页条数为正整数")
    @NotNull(message = "当前页正整数")
    @ApiModelProperty("当前页数")
    private Integer pageNum;
    @Min(value = 1,message = "每页条数为正整数")
    @NotNull(message = "每页条数为正整数")
    @ApiModelProperty("一页多少条")
    private Integer pageSize;
    @Min(value = 1,message = "场馆id为正整数")
    @NotNull
    @ApiModelProperty("场馆id")
    private Integer venueId;
}
